package com.erp4j.dynamicfield.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.erp4j.dynamicfield.entity.Customer;
import com.erp4j.dynamicfield.vo.QueryParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerMapper extends BaseMapper<Customer> {
    IPage<Customer> queryByDynamicConditions(Page<Customer> page, 
                                             @Param("params") List<QueryParam> params);
}
